import React, { Component } from 'react'
import ClassProp from './components/ClassProp'
import FunProp from './components/FunProp'

export default class App extends Component {
  render() {
    return (
      <div>
        <ClassProp name='atguigu' age={10}/>
        <hr />
        <FunProp name='尚硅谷' />
      </div>
    )
  }
}
